#ifndef SIMPLEAMQPCLIENT_CONSUMERTAGNOTFOUND_H
#define SIMPLEAMQPCLIENT_CONSUMERTAGNOTFOUND_H

#include <stdexcept>

#include "Util.h"

#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4251 4275)
#endif

/// @file SimpleAmqpClient/ConsumerTagNotFoundException.h
/// Defines AmqpClient::ConsumerTagNotFoundException

namespace AmqpClient {

/**
 * "Consumer tag not found" exception
 *
 * @see BasicConsume
 */
class SIMPLEAMQPCLIENT_EXPORT ConsumerTagNotFoundException
    : public std::runtime_error {
 public:
  /// Constructor
  ConsumerTagNotFoundException() throw()
      : std::runtime_error("The specified consumer tag is unknown") {}
  /// Destructor
  virtual ~ConsumerTagNotFoundException() throw() {}
};

}  // namespace AmqpClient
#endif  // SIMPLEAMQPCLIENT_CONSUMERTAGNOTFOUND_H
